<!--
 * @Author: 袁十一
 * @Date: 2023-03-20 14:08:09
 * @LastEditTime: 2023-03-20 16:30:53
 * @LastEditors: 袁十一
 * @Description: 
 * @FilePath: \blog\src\components\ImageCard.vue
 * 初心不变，意志坚定
-->
<template>
    <div class="polaroid">
      <img src="../assets/3.jpg" alt="NoWay" class="image" />
      <div class="container">
        <p>{{ currentDate }}</p>
      </div>
    </div>
</template>

<script>
export default {
  data() {
    return {
      currentDate: new Date()
    }
  }
}
</script>

  <style>
body {
  margin: 25px;
}
.polaroid {
  border-radius: 6px;
  width: 200px;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  overflow: hidden;
}
.container {
  text-align: center;
  padding: 10px 20px;
}
.image {
  width: 100%;
  height: 100%;
}
</style>